<?php

namespace app\admin\controller;

use helper\ali\Live;
use helper\Client;
use think\facade\View;

class LiveController extends AdminBaseController
{
    public function index()
    {
        return View::fetch('index/live');

        echo date('Y-m-d H:i:s');
        $config = [
            'push_cdn' => 'push.huoxunwan.cn',
            'push_key' => '6DTnVLLRQO52oOlr',
            'play_cdn' => 'play.huoxunwan.cn',
            'play_key' => 'sHcUk75hIrOHM5du'
        ];
        $live = new Live($config);
        halt($live->urlBuilder());
    }


    public function create()
    {

    }


    public function read()
    {

    }
}
